#ifndef _I386_TIME_H
#define _I386_TIME_H

#include "cmos.h"
#include "pit.h"

/* get time */
#define get_time_hour     cmos_get_hour_hex
#define get_time_minute   cmos_get_min_hex
#define get_time_second   cmos_get_sec_hex
#define get_time_day      cmos_get_day_of_month
#define get_time_month    cmos_get_mon_hex
#define get_time_year     cmos_get_year
#define get_time_week     cmos_get_day_of_week

void udelay(int usec);

#endif  /* _I386_TIME_H */
